package com.luoxin.serviceprice.remote;

import com.luoxin.internalcommon.dto.ResponseResult;
import com.luoxin.internalcommon.request.ForecastPriceDTO;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("service-map")
public interface ServiceMapClient {
    @PostMapping("/direction/driving")
    public ResponseResult driving(@RequestBody ForecastPriceDTO forecastPriceDTO);
}
